package com.dcd.service.impl;

import com.dcd.mapper.ProgramMapper;
import com.dcd.pojo.Program;
import com.dcd.service.ProgramService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProgramServiceImpl implements ProgramService {

    @Autowired
    private ProgramMapper programMapper;

    /**
     * 查询指定节目信息
     *
     * @param program_id
     * @return
     */
    @Override
    public Program select_appoint_program_by_id(int program_id) {
        return programMapper.select_appoint_program_by_id(program_id);
    }
}
